<template>
  <div>
<div class="box">
  <div class="left">
    <img :src="'http://liufusong.top:8080' + item.houseImg" alt="房型">
  </div>
  <div class="right">
    <div class="first">{{item.title}}</div>
    <div class="second">{{item.desc}}</div>
    <div class="third">近地铁</div>
    <div class="price"> <span>{{item.price}}</span>元/月</div>
  </div>
</div>
  </div>
</template>

<script>
export default {
  name: 'HkzfVantHouselist',
  props: {
    item: {
      type: Object
      // type: Array
      // default: () => ({})
    }
  },
  data () {
    return {

    }
  },
  methods: {

  }
}
</script>

<style lang="less" scoped>
 .box {
  width: 310px;
  height: 100px;
  display: flex;
}
.left {
  width: 120px;
  height: 80px;
  margin: 10px 10px;
  background-color: pink;
img {
  width: 100%;
  height: 100%;
}
}

.right {
  margin-left: 4px;
  padding-top: 12px;
}
.first {
  width: 180px;
  font-size: 15px;
  font-weight: 600;
  padding-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.second {
  font-size: 10px;
  color: #bbbdc1;
  margin-bottom: 4px;
}
.third {
  font-size: 4px;
  width: 44px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  border-radius: 5px;
  margin-bottom: 2px;
  color: #41c0cd;
  background-color: #e1f5f8;
}
.right .price {
  color: #fa5741;
  font-size: 13px;
  span {
    font-size: 18px;
    font-weight: 600;
    margin-right: 4px;
  }
}
</style>
